//
//  UIButton+WEXExtension.m
//  microBlog_oc
//
//  Created by apple on 16/4/23.
//  Copyright © 2016年 Hill. All rights reserved.
//

#import "UIButton+WEXExtension.h"

@implementation UIButton (WEXExtension)

-(UIButton *)initWithTextColor:(UIColor *)color withFontSize:(CGFloat)fontSize {
    
    UIButton *button = [[UIButton alloc] init];
    
    [button setTitleColor:color forState:UIControlStateNormal];
    
    button.titleLabel.font = [UIFont systemFontOfSize:fontSize];
    
    return  button;
    
    
}




@end
